package com.hducms.cms.service;

import java.util.List;
import java.util.Set;

import com.hducms.cms.entity.main.CmsRole;

public interface CmsRoleService {
	
	/**
	 * 获取角色列表
	 * @return
	 */
	public List<CmsRole> getList();

	public CmsRole findById(Integer id);

	public CmsRole save(CmsRole bean, Set<String> perms);

	public CmsRole update(CmsRole bean, Set<String> perms);

	public void deleteById(Integer id);

	public void deleteByIds(Integer[] ids);
}